package com.ecarx.module_vehicle.signal.Model;

import java.util.ArrayList;
import java.util.List;

public class SignalItem {

    /**
     * 例：灯光
     */
    private String moduleName;

    /**
     * 接口ID
     */
    private WrappedPropertyId wrappedPropertyId;
    /**
     * 支持设置的区域
     */
    private final List<AreaId> areaIdList = new ArrayList<>();
    /**
     * 支持设置的参数
     */
    private final List<InPropertyValue> inPropertyValues = new ArrayList<>();
    /**
     * 回调频率
     */
    private final List<Rate> rateList = new ArrayList<>();
    /**
     * Ui
     */
    private final UISelectPosition uiSelectPosition = new UISelectPosition();

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public WrappedPropertyId getWrappedPropertyId() {
        return wrappedPropertyId;
    }

    public void setWrappedPropertyId(WrappedPropertyId wrappedPropertyId) {
        this.wrappedPropertyId = wrappedPropertyId;
    }

    public List<AreaId> getAreaIdList() {
        return areaIdList;
    }

    public List<InPropertyValue> getInPropertyValues() {
        return inPropertyValues;
    }

    public UISelectPosition getUiSelectPosition() {
        return uiSelectPosition;
    }

    public List<Rate> getRateList() {
        return rateList;
    }

    @Override
    public String toString() {
        return "SignalItem{" +
                "signalModuleName='" + moduleName + '\'' +
                ", propertyId=" + wrappedPropertyId +
                ", areaIdMap=" + areaIdList +
                ", inParams=" + inPropertyValues +
                '}';
    }
}